import request from '@/utils/request'

/**
 * 获取个人卡片信息
 * @returns 
 */
export const getMyInfoCardService = () => {
    return request.get('/user/myInfo')
}

/**
 * 获取每日一言数据
 */
export const getEveryDayWordService = () => {
    return request.get('/user/myInfo/word')
}

/**
 * 获取可用学习经历数据
 * @returns 
 */
export const getStudyExperienceListService = () => {
    return request.get('/user/experience/list')
}

/**
 * 获取欢迎词
 * @returns 
 */
export const getMyWelcomeInfoService = () => {
    return request.get('/user/myInfo/welcome')
}